﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
using System.Dynamic;
using SqlSugar;
using Newtonsoft.Json;

namespace AutoMan.Helper
{
    public static class EntityHelper
    {
        public static Type[] GetEntityInfo(string nspace= "AutoMan.Models")
        {
            var q = from t in Assembly.GetExecutingAssembly().GetTypes()
                    where t.IsClass && t.Namespace == nspace
                    select t;
            return q.ToArray();
        }
    }
}
